package com.yixing.demo.service;

import com.yixing.demo.mapper.UserMapper;
import com.yixing.demo.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;
    public User login(String username) {
        return userMapper.login(username);
    }
}
